// "Replace with 'newFun<T>()'" "true"

@Deprecated("", ReplaceWith("newFun<T>()"))
fun <T : Any> oldFun(): T? {
    return newFun<T>()
}

fun <T : Any> newFun(): T? = null

fun foo(): String? {
    return <caret>oldFun()
}

// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.fixes.replaceWith.DeprecatedSymbolUsageFix